package io.gitee.pkmer.greet.config;

import org.gradle.api.model.ObjectFactory;
import org.gradle.api.provider.Property;

import javax.inject.Inject;

/**
 * @author 胖卡
 * @version 1.0.0
 * @date 2024/8/12
 */
public class AnotherGreetingPluginExtension {
    private final Property<String> message;
    private final Property<String> greeter;

    @Inject
    public AnotherGreetingPluginExtension(ObjectFactory objects) {
        this.message = objects.property(String.class);
        this.greeter = objects.property(String.class);
    }

    public Property<String> getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message.set(message);
    }

    public Property<String> getGreeter() {
        return greeter;
    }

    public void setGreeter(String greeter) {
        this.greeter.set(greeter);
    }
}

